var Light;
(function (Light) {
    Light[Light["Red"] = 0] = "Red";
    Light[Light["Green"] = 1] = "Green";
    Light[Light["Yellow"] = 2] = "Yellow";
})(Light || (Light = {}));
console.log(Light.Red); // 0
console.log(Light.Green); // 1
console.log(Light.Yellow); // 2
console.log(Light[0]); // Red
console.log(Light[1]); // Green
console.log(Light[2]); // Yellow
var Light1;
(function (Light1) {
    Light1[Light1["Red"] = 1] = "Red";
    Light1[Light1["Green"] = 2] = "Green";
    Light1[Light1["Yellow"] = 3] = "Yellow";
})(Light1 || (Light1 = {}));
console.log(Light1.Red); // 1
console.log(Light1.Green); // 2
console.log(Light1.Yellow); // 3
